<template>
	<div id="recommendList">
		<box v-for="t in boxInfo" :key='t._id' :info="t"></box>
	</div>
</template>

<script>
	import box from './box.vue'
	export default {
		data() {
			return {
				boxInfo: []
			}
		},
		components: {
			box
		},
		mounted() {
			this.$axios({
				url: this.ip + '/postListGet',
				method: 'post'
			}).then(res => {
				console.log(res.data)
				this.boxInfo = res.data.info
			})
		}
	}
</script>

<style>
</style>
